package com.hs.room.model.archive

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 案件
 */
@Entity(tableName = "alarm_log")
data class AlarmLog(
    @PrimaryKey(autoGenerate = true)
    val localId: Long,//本地数据库主键
    @ColumnInfo
    val id: Long,//服务器返回ID

    @ColumnInfo
    val archiveName: String,
    @ColumnInfo
    val alarmType: Int,

    @ColumnInfo
    val archiveNumber: String,

    @ColumnInfo
    val userName: String,

    @ColumnInfo
    val archiveLevel: String,

    @ColumnInfo
    val archiveStatus: String,

    @ColumnInfo
    val archiveStatusID: Long,

    @ColumnInfo
    val archiveType: String,

    @ColumnInfo
    val archiveRfid: String,

    @ColumnInfo
    val userNumber: String,

    @ColumnInfo
    val createTimeStr: String,

    @ColumnInfo
    val issue: String,

    @ColumnInfo
    val issueType: String,

    @ColumnInfo
    val createTime: Long
)
